package cn.ibdsr.human.db.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;

/**
 * <p>
 * 岗位信息表
 * </p>
 *
 * @author cdl
 * @since 2021-08-06
 */
public class Job extends Model<Job> {

    private static final long serialVersionUID=1L;

    /**
     * 主键ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 企业ID
     */
    private Long companyId;

    /**
     * 岗位名称
     */
    private String name;

    /**
     * 性别要求
     */
    private Integer gender;

    /**
     * 薪资范围
     */
    private String salary;

    /**
     * 用工类型
     */
    private Integer workerType;

    /**
     * 学历要求
     */
    private Integer education;

    /**
     * 经验要求
     */
    private Integer experience;

    /**
     * 年龄要求
     */
    private String ageRequire;

    /**
     * 其他要求
     */
    private String otherRequire;

    /**
     * 详情地址小区街道门牌号
     */
    private String address;

    /**
     * 是否发布（0-否；1-是；）
     */
    private Boolean isPublish;

    /**
     * 创建者ID
     */
    private Long createUser;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 修改者ID
     */
    private Long updateUser;

    /**
     * 修改时间
     */
    private LocalDateTime updateTime;

    /**
     * 是否删除（0-否；1-是；）
     */
    private Boolean isDeleted;

    /**
     * 排序位置
     */
    private Long sortRank;

    /**
     * 非更新排序修改时间
     */
    private LocalDateTime modifyTime;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Long companyId) {
        this.companyId = companyId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }

    public String getSalary() {
        return salary;
    }

    public void setSalary(String salary) {
        this.salary = salary;
    }

    public Integer getWorkerType() {
        return workerType;
    }

    public void setWorkerType(Integer workerType) {
        this.workerType = workerType;
    }

    public Integer getEducation() {
        return education;
    }

    public void setEducation(Integer education) {
        this.education = education;
    }

    public Integer getExperience() {
        return experience;
    }

    public void setExperience(Integer experience) {
        this.experience = experience;
    }

    public String getAgeRequire() {
        return ageRequire;
    }

    public void setAgeRequire(String ageRequire) {
        this.ageRequire = ageRequire;
    }

    public String getOtherRequire() {
        return otherRequire;
    }

    public void setOtherRequire(String otherRequire) {
        this.otherRequire = otherRequire;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Boolean getPublish() {
        return isPublish;
    }

    public void setPublish(Boolean isPublish) {
        this.isPublish = isPublish;
    }

    public Long getCreateUser() {
        return createUser;
    }

    public void setCreateUser(Long createUser) {
        this.createUser = createUser;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public Long getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(Long updateUser) {
        this.updateUser = updateUser;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    public Boolean getDeleted() {
        return isDeleted;
    }

    public void setDeleted(Boolean isDeleted) {
        this.isDeleted = isDeleted;
    }

    public Long getSortRank() {
        return sortRank;
    }

    public void setSortRank(Long sortRank) {
        this.sortRank = sortRank;
    }

    public LocalDateTime getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(LocalDateTime modifyTime) {
        this.modifyTime = modifyTime;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "Job{" +
        "id=" + id +
        ", companyId=" + companyId +
        ", name=" + name +
        ", gender=" + gender +
        ", salary=" + salary +
        ", workerType=" + workerType +
        ", education=" + education +
        ", experience=" + experience +
        ", ageRequire=" + ageRequire +
        ", otherRequire=" + otherRequire +
        ", address=" + address +
        ", isPublish=" + isPublish +
        ", createUser=" + createUser +
        ", createTime=" + createTime +
        ", updateUser=" + updateUser +
        ", updateTime=" + updateTime +
        ", isDeleted=" + isDeleted +
        ", sortRank=" + sortRank +
        ", modifyTime=" + modifyTime +
        "}";
    }
}
